LIBS += ncurses

ncurses: CONFIG += \
--with-shared --disable-database \
--with-fallbacks="ansi vt220 linux"
